package com.ruoyi.user.mapper;

import com.ruoyi.user.entity.Merchant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MerchantMapper {
    List<Merchant> merchantLogin(Merchant merchant);

    int merchantRegister(Merchant merchant);

    List<Merchant> selectMerchantByPhoneOrIdcard(Merchant merchant);

    int update(@Param("merchant")Merchant merchant);
}
